<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<html>
<head>
    <meta charset="utf-8">
    <title>major_update</title>
    <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
</head>
<body>
<br>
<br><br>
<div class="ui four column centered grid">
    <div class="column">
        <form action="/major_update" class="ui form" method="post">
            <div class="field">
                <label>专业名</label>
                <input name="name" th:value="${major.name}" type="text">
                <input name="id" th:value="${major.id}" type="hidden">
            </div>
            <div class="field">
                <label>状态</label>
                <input name="state" th:value="${major.state}" type="text">
            </div>
            <button class="ui blue button" type="submit">提交</button>
            <a class="ui red button" th:href="@{/major_index}">返回</a>
        </form>
    </div>
</div>
</body>
</html>
